﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewReport.aspx.cs" Inherits="SquidConsult.UI.Consultant.ViewReport" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Label ID="ViewLabel" runat="server" Text="Report Type: "></asp:Label>
    &nbsp;<asp:DropDownList ID="ReportDropDownList" runat="server" AutoPostBack="True" 
        onselectedindexchanged="ReportDropDownList_SelectedIndexChanged">
        <asp:ListItem Value="All submitted reports "></asp:ListItem>
        <asp:ListItem Value="All approved reports"></asp:ListItem>
        <asp:ListItem Value="All ongoing reports"></asp:ListItem>
    </asp:DropDownList>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="LoadError" runat="server"></asp:Label>
    <br />
    <br />
    <asp:GridView ID="ReportGridView" runat="server" 
        onselectedindexchanged="ReportGridView_SelectedIndexChanged" 
        AutoGenerateSelectButton="True" onrowcreated="ReportGridView_RowCreated">
    </asp:GridView>
    <br />
    <asp:GridView ID="ExpenseGridView" runat="server" 
        AutoGenerateSelectButton="True" onrowcreated="ReportGridView_RowCreated" 
        onselectedindexchanged="ExpenseGridView_SelectedIndexChanged">
    </asp:GridView>
    <br />
<br />
<asp:Panel ID="DownloadPanel" runat="server" Height="38px" style="margin-top: 0px" 
    Width="419px" Visible="False">
    <asp:Label ID="ReceiptLabel" runat="server" Text="Receipt: " 
        style="font-size: medium"></asp:Label>
    &nbsp;&nbsp;
    <asp:Button ID="DownloadButton" runat="server" onclick="DownloadButton_Click" 
        style="font-size: medium" Text="Download" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="ErrorLabel" runat="server"></asp:Label>
</asp:Panel>
    <br />
    <br />
    <br />
    </asp:Content>
